package com.heima.model.article.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 嘉德罗斯
 * @date 2021/11/20
 */

@Data
@TableName("ap_author")
@NoArgsConstructor
@AllArgsConstructor
public class ApAuthor {

    @TableId(value = "id",type = IdType.ID_WORKER)
    //主键
    private Integer id;
    //作者名
    private String name;
    //0爬取数据,1签约合同商,2平台自媒体人
    private Integer type;
    //社交账号id
    private Integer userId;
    //创建时间
    private Date createdTime;
    //自媒体账号
    private Integer wmUserId;
}
